package com.yawn.demomybatis.dao;

import com.yawn.demomybatis.entity.Person;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PersonMapper {

    Person get(@Param("id") String id);

    List<Person> list();

    int add(Person person);
}
